package cn.kgc.ssm.mapper;

import cn.kgc.ssm.entity.Member;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @author 课工场
 * @date 2024/11/18
 * @description
 */
public interface MemberMapper {

   List<Member> selectMember(@Param("memberName") String memberName, @Param("idCard") String idCard);

   Member selectMemberByMemberName(String memberName);

   Member selectMemberByIdCard(String idCard);

   void addMember(Member member);

   void updateMember(Member member);

   void deleteMember( @Param("ids") List<Integer> ids);

   void registerMember(Member member);

   Integer selectDashboardData();

   List<Map<String, Integer>> selectLineData();

   List<Map<String, Integer>> selectRoseData();
}
